package com.heima.mapper;

import com.heima.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoleMapper {

    /**
     * 查询所有的role
     */
    @Select("select * from tb_role")
    List<Role> queryAll();
}
